<?php $files = FS::getFiles ($stylesDir . '/' . $_REQUEST['folder'], array ('php', 'inc')); ?>
<?php foreach ($files as $file) { ?>
<option value="<?php echo $file ?>"><?php echo $file ?></option>
<?php } ?>